package com.fuyao.cloud.asset.inventory.enums;

import com.fuyao.cloud.common.core.enums.BaseEnum;

/**
 * 类型枚举类
 *
 * @author lyhil
 */
public enum InventoryTaskTypeEnum implements BaseEnum {

    /**
     * 全部
     */
    ALL("all", "全部"),
    /**
     * 已下发
     */
    UNIT("unit", "单位"),
    /**
     * 已审批
     */
    CTI("cti", "资产分类"),
    /**
     * 作废
     */
    SPACE("space", "空间");

    private String code;
    private String name;

    private InventoryTaskTypeEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getName() {
        return this.name;
    }
}
